#include<iostream>
using namespace std;

class In{
public:
	virtual void say()=0;
	void work(){
		cout<<"In work method..."<<endl;
	}
};

class Imp:public In{
public: void say(){
		cout<<"say..."<<endl;
	}
};

int main6(){
	Imp i;
	i.say();
	i.work();
	return 0;
}
